/*  1:   */ package org.jetbrains.generate.tostring.exception;
/*  2:   */ 
/*  3:   */ public class PluginException
/*  4:   */   extends RuntimeException
/*  5:   */ {
/*  6:   */   private final String a;
/*  7:   */   
/*  8:   */   public PluginException(String paramString, Throwable paramThrowable)
/*  9:   */   {
/* 10:32 */     super(paramThrowable);
/* 11:33 */     this.a = (paramString != null ? paramString + "\nCaused by: " + paramThrowable.getMessage() : paramThrowable.getMessage());
/* 12:   */   }
/* 13:   */   
/* 14:   */   public PluginException(Throwable paramThrowable)
/* 15:   */   {
/* 16:42 */     super(paramThrowable);
/* 17:43 */     this.a = paramThrowable.getMessage();
/* 18:   */   }
/* 19:   */   
/* 20:   */   public String getMessage()
/* 21:   */   {
/* 22:51 */     return this.a;
/* 23:   */   }
/* 24:   */ }


/* Location:           E:\idea\
 * Qualified Name:     org.jetbrains.generate.tostring.exception.PluginException
 * JD-Core Version:    0.7.0.1
 */